//定义刺客类
public class Assassin extends Hero implements Safe {
    private final int damage2;
    private final int damage3;

    public int getDamage2() {
        return damage2;
    }

    public int getDamage3() {
        return damage3;
    }

    public Assassin() {
        super("刺客", 100, 6, 8);
        this.damage2 = 15;
        this.damage3 = 30;
    }

    @Override
    public void show() {
        System.out.println(name + "成功防御了对方的攻击！" );
    }
}


